home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!JAMESCHA
- From: jamesch@ix.netcom.com (James Chamblin)
- Newsgroups: comp.sys.cbm
- Subject: Re: A couple of quick questions
- Date: 22 Jan 1996 14:29:24 GMT
- Organization: Netcom
- Message-ID: <4e0704$63l@ixnews6.ix.netcom.com>
- References: <Pine.A32.3.91.960120155016.29585F-100000@srv1.freenet.calgary.ab.ca>
- NNTP-Posting-Host: ix-orl3-14.ix.netcom.com
- X-NETCOM-Date: Mon Jan 22 6:29:24 AM PST 1996
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article
- <Pine.A32.3.91.960120155016.29585F-100000@srv1.freenet.calgary.ab.ca>,
- "Philip D. Porth" <pdporth@freenet.calgary.ab.ca> wrote:
- >1/ I am currently using Novaterm9.5 to download files from there local
- >freenet. I can download ASCII files correctly in Kermit or Z-Modem,
- but
- >binary files, especially .sfx ones are always corrupt, and won't
- >dissolve. Can anyone recommend a term program that they KNOW works
- with
- >either of these protocols, for either the 64 or 128?
-
- I ran into a simialr problem when first downloading from FTP. The
- problem is in the way Unix and IBM handles files. For ASCII files, it
- addes a linefeed for every carriage return, and detects end-of-file
- with the character 0. BINARY files are transfered as-is, using a
- special status bit to detect EOF. if you are trying to download an SFX
- file, but the host is set to ASCII, you'll not only get extra bytes,
- but the transfer will terminate at the very first 0 the system comes
- across.
- The solution is to find a way to set the transfer to BINARY. On Unix,
- it is as simple as typing BINARY on the command line.
-